Dart.PowerTCP.SslSockets Namespace > EnhancedStream Class > Write Method : Write(Byte[]) Method |
Writes a sequence of bytes to the Stream and returns when the operation is complete.
Exception | Description |
---|---|
IOException | Thrown when the Stream is not writable. |
ArgumentNullException | Thrown when the buffer is null. |
ArgumentOutOfRangeException | Thrown when the offset is less than zero or when count is less than or equal to zero. |
ArgumentException | Thrown when the (offset + count) > buffer.Length. |
This method is a convenience overload for all derived classes by writing the entire buffer to the Stream. This method calls Write(buffer, 0, buffer.length).
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
EnhancedStream Class | EnhancedStream Members | Overload List
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.